package com.dd.web.base.common.constant;

import lombok.Data;

/**
 * 各种状态值
 */
public enum  StatusEnum {
    ACTIVE(1,"正常"),STOP(2,"停止");

    private int code;
    private String msg;

    private StatusEnum(int code,String msg){
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }


    public String getMsg() {
        return msg;
    }

}
